﻿<div class="blog_right">
    <div class="blog_rtop" style="border:none;" ng-show="visitedUserIsSameAsCurrentUser()">
        <a href="#/{{visitedUserId}}/blog/new/create"><div class="blog_titleadd"><img src="/images/add02.png"> 发表博文</div></a>
    </div>

    <div class="blog_rtop" style="border-bottom:1px solid #DDD;border-top:none;background-color:#FDFDFD;">
        <div class="blog_title"> 正&nbsp;文</div>
    </div>

    <div class="blog_list">
        <div class="blog_list01" ng-repeat="blog in blogs">
            <div class="blog_rtitle"> {{blog.title}}
                <span class="blog_rtitle01"> ({{blog.createTime.$date | date: 'yyyy-MM-dd HH:MM:ss'}}) </span>
                <span class="blog_rtitle01" ng-show="visitedUserIsSameAsCurrentUser()"> &nbsp;&nbsp;
                    <a href="#/{{visitedUserId}}/blog/edit/{{blog._id}}"> [编辑] </a>&nbsp;
                    <a href="javascript:void(0)" ng-click="remove(blog)"> [删除] </a>
                </span>
            </div>
            <div class="blog_rtab">
                分类： <a href="#/{{visitedUserId}}/blog/category/{{blog.category._id}}" style="margin-right: 20px;">{{blog.category.name}}</a>
                作者：{{blog.author.name}}
            </div>

            <div class="blog_article">
                <div class="blog_arti" ng-bind-html="safeHtml(blog)"></div>
            </div>

            <div class="blog_end">
                阅读({{blog.views}})  ┆
                评论({{blog.replies}})
                <!--<a href=""> 转载() </a> ┆
                <a href=""> 收藏() </a>-->
                <div class="blog_end01"> <a href="#/{{visitedUserId}}/blog/{{blog._id}}"> 查看全文&gt;&gt; </a> </div>
            </div>
        </div>

        <div ng-pagination ng-model="totalCount" class="home_div_leftb"
             style="height:60px;width:720px;left:23px;" id="blog_page"></div>
    </div>
</div>
